package com.project.service.impl;

import com.project.bean.InfoBean;
import com.project.mapper.IInfoMapper;
import com.project.service.IInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class InfoServiceImpl implements IInfoService {
    @Autowired
    private IInfoMapper mapper;
    @Override
    public void add(InfoBean info) {
        mapper.insert(info);
    }
}
